home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VSINMODE.S < prev    next >
Text File  |  1993-03-16  |  953b  |  37 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Set input mode.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vsin_mode
  11. _vsin_mode:
  12. ;    .cargs    #8,handle.w,devtyp.w,mode.w
  13.  
  14. handle      =         8
  15. devtyp      =         10
  16. mode      =         12
  17.  
  18.           link        a6,#-2
  19.  
  20. ;          VContrl    #33,,,#2
  21.           move.w    handle(a6),-(sp)    ; contrl[6]
  22.           clr.l     -(sp)                ; contrl[5,4]
  23.           move.w    #2,-(sp)            ; contrl[3]
  24.           subq.l    #2,sp                ; contrl[2]
  25.           clr.w     -(sp)                ; contrl[1]
  26.           move.w    #33,-(sp)            ; contrl[0]
  27.  
  28.           subq.l    #4,sp                ;* -> ptsout
  29.           pea        -2(a6)                ;* -> intout
  30.           subq.l    #4,sp                ;* -> ptsin
  31.           pea        devtyp(a6)            ;* -> intin
  32.           pea        16(sp)                ;* -> contrl
  33.  
  34.           jmp        vdicall
  35.  
  36.           end
  37.